<% var obj={pageTitle:"编辑学生信息"}%>
{{include "../header.html" obj}}
<div class=" container">
    {{include "../pageHeader.html" obj}}
    <form class=" form-horizontal" method="POST" action="/Stu_h1802/doEditStudent">
        <div class=" form-group">
            <label class=" control-label col-sm-2">学号</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_id" value="{{model.s_id}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">姓名</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_name" value="{{model.s_name}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">性别</label>
            <div class=" col-sm-7">
                <select name="s_sex" class=" form-control">
                    <option value="男" {{if model.s_sex=="男"}}selected{{/if}}>男</option>
                    <option value="女" {{if model.s_sex=="女"}}selected{{/if}}>女</option>
                </select>
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">年龄</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_age" value="{{model.s_age}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">qq</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_qq" value="{{model.s_qq}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">学校</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_school" value="{{model.s_school}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">专业</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_major" value="{{model.s_major}}">
            </div>
        </div>
        <div class=" form-group">
            <label class=" control-label col-sm-2">学历</label>
            <div class=" col-sm-7">
                <input type="text" class=" form-control" name="s_education" value="{{model.s_education}}">
            </div>
        </div>
        <div class=" form-group">
            <div class=" col-sm-offset-2 col-sm-7">
                <button type="submit" class=" btn btn-primary btn-submit-loading">保存数据</button>
                <button type="reset" class=" btn btn-info" onclick="history.back()">返回列表</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
    $(function(){
        $("input.form-control").addTips();  //添加placehodler
    })
</script>

{{include "../footer.html"}}